using System.Collections.Generic;
using System.Web.Core;

namespace Forum.Business
{
    public class SectionRequest : TEntityRequest<Section>
    {
        public SectionRequest()
        {
            EntityId = GetParameterValue<int>(ForumParameterName.SectionId);
        }
    }
    public class SectionListRequest : TEntityListRequest<Section>
    {
        private int? groupId = GetParameterValue<int?>(ForumParameterName.GroupId);
        private int? enabled = GetParameterValue<int?>(ForumParameterName.Enabled);

        public int? GroupId
        {
            get
            {
                return groupId;
            }
            set
            {
                groupId = value;
            }
        }
        public int? Enabled
        {
            get
            {
                return enabled;
            }
            set
            {
                enabled = value;
            }
        }
    }
    public class SectionReply : EntityReply
    {
    }
}